<?php
namespace Home\Controller;

use Think\Controller;
class AnniuController extends CommonController
{
	public function anniu()
  {
   	$User = M("apps"); // 实例化User对象
	$a = "id=4";
	$result[0] = $User->where($a)->getField('history_img');
	$result[1] = $User->where($a)->getField('user_img');
	$result[2] = $User->where($a)->getField('register_img');
	$result[3] = $User->where($a)->getField('login_img');

	$this->ajaxReturn($result);
	if (empty($result)) {
      return_data("error", "index.users.empty");
    } else {
      return_data("success", "index.users.success", $result);
    }
  }
 
}